import request from '@/utils/request'

// 查询执法对象表列表
export function listInformationList(query) {
  return request({
    url: '/system/informationList/list',
    method: 'get',
    params: query
  })
}

// 查询执法对象表详细
export function getInformationList(id) {
  return request({
    url: '/system/informationList/' + id,
    method: 'get'
  })
}

// 新增执法对象表
export function addInformationList(data) {
  return request({
    url: '/system/informationList',
    method: 'post',
    data: data
  })
}

// 修改执法对象表
export function updateInformationList(data) {
  return request({
    url: '/system/informationList',
    method: 'put',
    data: data
  })
}

// 删除执法对象表
export function delInformationList(id) {
  return request({
    url: '/system/informationList/' + id,
    method: 'delete'
  })
}
